# -*- coding: utf-8 -*-
# @Time    : 2022/10/9 23:17
# @Author  : 修远
# @File    : __init__.py.py
# @Comment : 
from flask import Blueprint
from app.api.v1 import book
from app.api.v1 import user


def create_blueprint_v1():
    from app.api.v1.book import api
    bp_v1 = Blueprint('v1', __name__)

    book.api.register(bp_v1)
    user.api.register(bp_v1)
    return bp_v1
